pegasus/authentication
Types
Functions
pub fn authenticate(
data: BitArray,
key: HashKey,
) -> Result(BitArray, Error)
Create an authentication tag for data using the provided key
pub fn key_from_bitarray(key_data: BitArray) -> HashKey
Create a new authentication key from raw bytes
Note: For proper security, keys should be randomly generated