Package 

Class BitsKt

  • All Implemented Interfaces:

    
    public final class BitsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Scalar toScalarFromBits(ByteArray $self) Construct a Scalar from the low 255 bits of a 256-bit integer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • toScalarFromBits

         final static Scalar toScalarFromBits(ByteArray $self)

        Construct a Scalar from the low 255 bits of a 256-bit integer.

        This function is intended for applications like X25519 which require specific bit-patterns when performing scalar multiplication.