[][src]Function bundled_crypto::token::paseto::v1::local::split_key

pub fn split_key(nonce: &Nonce, key: &[u8]) -> (EncryptionKey, AuthKey)

Takes the nonce and a static key, creating the auth and encrpytion keys.