Signing cells using public key cryptography, most notably transactions as required prior to submission.
More precisely, is signed the hash of the encoding of the cell, producing a signed data cell.
Uses Ed25519.
Signing cells using public key cryptography, most notably transactions as required prior to submission. More precisely, is signed the hash of the encoding of the cell, producing a signed data cell. Uses Ed25519.
(account-key key-pair)
Returns the account key of the given key-pair
.
This is effectively the public key presented as a cell.
Returns the account key of the given `key-pair`. This is effectively the public key presented as a cell.
(ed25519)
(ed25519 seed)
(ed25519 key-public key-private)
Creates an Ed25519 key pair.
It is generated from a seed
, a 32-byte blob. If not given, one is generated randomly.
Alternatively, a [[public-key]] and a [[private-key]] retrieved from an existing key pair can be provided.
Creates an Ed25519 key pair. It is generated from a [[seed]], a 32-byte blob. If not given, one is generated randomly. Alternatively, a [[public-key]] and a [[private-key]] retrieved from an existing key pair can be provided.
(hex-string key-pair)
Returns the public key of the given key-pair
as a hex-string (64-char string where each pair of
chars represents a byte in hexadecimal).
Returns the public key of the given `key-pair` as a hex-string (64-char string where each pair of chars represents a byte in hexadecimal).
(key-private key-pair)
Returns the java.security.PrivateKey
of the given key-pair
.
Returns the `java.security.PrivateKey` of the given `key-pair`.
(key-public key-pair)
Returns the java.security.PublicKey
of the given key-pair
.
Returns the `java.security.PublicKey` of the given `key-pair`.
(signed key-pair cell)
Returns the given cell
signed by key-pair
.
Returns the given `cell` signed by `key-pair`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close