Liking cljdoc? Tell your friends :D

convex.sign

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.
raw docstring

account-keyclj

(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.
sourceraw docstring

ed25519clj

(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.
sourceraw docstring

hex-stringclj

(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).
sourceraw docstring

key-privateclj

(key-private key-pair)

Returns the java.security.PrivateKey of the given key-pair.

Returns the `java.security.PrivateKey` of the given `key-pair`.
sourceraw docstring

key-publicclj

(key-public key-pair)

Returns the java.security.PublicKey of the given key-pair.

Returns the `java.security.PublicKey` of the given `key-pair`.
sourceraw docstring

seedclj

(seed key-pair)

Returns the seed of

Returns the seed of
sourceraw docstring

signedclj

(signed key-pair cell)

Returns the given cell signed by key-pair.

Returns the given `cell` signed by `key-pair`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close