plutus-core-1.45.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

Evaluation.Builtins.BLS12_381.Utils

Synopsis

Documentation

compressionBitWord8 Source #

ByteString utilities. These are used in tests to check that the format of compressed points conforms to the specification at https://github.com/supranational/blst#serialization-format .

modifyMSB ∷ (Word8Word8) → ByteStringByteString Source #

Apply some function to the most significant byte of a bytestring

flipBitsWord8ByteStringByteString Source #

Flip a specified set of bits in the most significant byte of a bytestring.

clearBitsWord8ByteStringByteString Source #

Clear a specified set of bits in the most significant byte of a bytestring.

setBitsWord8ByteStringByteString Source #

Set a specified set of bits in the most significant byte of a bytestring.

isSetWord8ByteStringBool Source #

Check that a specified set of bits is set in the most significant byte of a bytestring.