package octez-libs
type t = {
cv : CV.t;
epk : DH.epk;
payload_enc : Bytes.t;
nonce_enc : Tezos_crypto.Crypto_box.nonce;
payload_out : Bytes.t;
nonce_out : Tezos_crypto.Crypto_box.nonce;
}
val encoding : t Data_encoding.encoding
val plaintext_encoding : plaintext Data_encoding.encoding
val get_memo_size : t -> int
val encrypt_aux :
Tezos_crypto.Crypto_box.Secretbox.key ->
int64 ->
Viewing_key.address ->
Rcm.t ->
Bytes.t ->
R.esk ->
CV.t ->
t
val encrypt :
int64 ->
Viewing_key.address ->
Viewing_key.t ->
Rcm.t ->
Bytes.t ->
(R.cv * R.commitment * R.epk) ->
R.esk ->
t
val decrypt :
t ->
Viewing_key.t ->
(Viewing_key.address * int64 * Rcm.t * Bytes.t) option
val decrypt_ovk :
t ->
R.ovk ->
(R.commitment * R.epk) ->
(Viewing_key.address * int64 * Rcm.t * Bytes.t) option
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>