object
hash_common_64
Auxiliary predicates for the hashes library 64-bit algorithms.
logtalk_load(hashes(loader))static, context_switching_callsPublic predicates
word64_hex/2
Converts a 64-bit word into a 16-digit lowercase hexadecimal atom.
staticword64_hex(Word,Hex)word64_hex(+integer,-atom) - onemask64/1
Returns the 64-bit mask value.
staticmask64(Mask)mask64(-integer) - oneadd64/3
Adds two integers modulo 2^64.
staticadd64(A,B,Sum)add64(+integer,+integer,-integer) - onemul64/3
Multiplies two integers modulo 2^64.
staticmul64(A,B,Product)mul64(+integer,+integer,-integer) - onerol64/3
Rotates a 64-bit word left by the given number of bits.
staticrol64(Value,Shift,Rotated)rol64(+integer,+integer,-integer) - onexor64/3
Computes the bitwise exclusive-or of two integers modulo 2^64.
staticxor64(A,B,Xor)xor64(+integer,+integer,-integer) - oneor64/3
Computes the bitwise disjunction of two integers modulo 2^64.
staticor64(A,B,Or)or64(+integer,+integer,-integer) - oneand64/3
Computes the bitwise conjunction of two integers modulo 2^64.
staticand64(A,B,And)and64(+integer,+integer,-integer) - onenot64/2
Computes the bitwise complement of an integer modulo 2^64.
staticnot64(Value,Complement)not64(+integer,-integer) - oneshl64/3
Shifts a 64-bit word left by the given number of bits and masks the result.
staticshl64(Value,Shift,Shifted)shl64(+integer,+integer,-integer) - oneshr64/3
Shifts a 64-bit word right by the given number of bits after masking the input.
staticshr64(Value,Shift,Shifted)shr64(+integer,+integer,-integer) - oneinteger_to_big_endian_bytes64/2
Encodes a 64-bit word into eight bytes in big-endian order.
staticinteger_to_big_endian_bytes64(Integer,Bytes)integer_to_big_endian_bytes64(+integer,-list(integer)) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)