scuttlebutt-types-0.4.0: generic types for Secure Scuttlebutt

Safe HaskellSafe
LanguageHaskell2010

Ssb.Types.Key

Synopsis

Documentation

parseEd25519PublicKey :: ByteString -> Maybe PublicKey Source #

Decodes a SSB Ed25519 public key, which is base64 encoded.

formatPublicKey :: PublicKey -> ByteString Source #

Formats a SSB public key as a base64 encoded string.