Crate glome

Source
Expand description

§GLOME - Generic Low-Overhead Message Exchange

GLOME is a lightweight message authentication protocol based on X25519 keys and HMAC-SHA256. See https://github.com/google/glome for details on the protocol, usage patterns and implementations in other languages.

The Rust implementation of GLOME works with its own PrivateKey and PublicKey traits to support more than one backing cryptography crate. It aims to provide implementations for the crates most commonly used, which can be activated with the corresponding crate feature. The default and recommended setting is to use x25519_dalek. Implementations should be verified with the test vectors in the tests module.

Modules§

dalek
PrivateKey and PublicKey implementations for types in x25519_dalek.

Traits§

PrivateKey
An X25519 private key.
PublicKey
An X25519 public key.

Functions§

tag
Compute a GLOME tag.
verify
Verify a GLOME tag.