GenUnitApp


Bytes

Namespace: global
Parent Module: YoLo

Functions and values

Function or valueDescription
equalsConstantTime bits bobs
Signature: bits:byte [] -> bobs:byte [] -> bool

Compare two byte arrays in constant time, bounded by the length of the longest byte array.

hash algo bs
Signature: algo:(unit -> '?19737) -> bs:byte [] -> byte []
Type parameters: '?19737
ofHex digestString
Signature: digestString:string -> byte []
sha1
Signature: byte [] -> byte []
sha256
Signature: byte [] -> byte []
sha512
Signature: byte [] -> byte []
toHex bs
Signature: bs:byte [] -> string
Fork me on GitHub