@[irreducible]
Equations
- Cryptlib.Util.newnat.natToBytesAux n acc = if (n == 0) = true then acc else Cryptlib.Util.newnat.natToBytesAux (n / 256) (UInt8.ofNat (n % 256) :: acc)
Instances For
Equations
- Cryptlib.Util.newnat.natToBytes n = { data := (Cryptlib.Util.newnat.natToBytesAux n []).toArray }