| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Ssb.Types.Key
- newtype PublicKey = Ed25519PublicKey {}
- parseEd25519PublicKey :: ByteString -> Maybe PublicKey
- formatPublicKey :: PublicKey -> ByteString
Documentation
Constructors
| Ed25519PublicKey | |
Fields | |
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.