Encode the public key as base32
(&self)
| 50 | |
| 51 | /// Encode the public key as base32 |
| 52 | pub fn to_base32(&self) -> String { |
| 53 | data_encoding::BASE32_NOPAD.encode(self.as_bytes()) |
| 54 | } |
| 55 | |
| 56 | /// The standard `did:key` identifier for this Ed25519 key. |
| 57 | /// |