package conex
Establish trust in community repositories
Install
Dune Dependency
Authors
Maintainers
Sources
conex-0.9.2.tbz
sha256=4081f7e860dca2856609d4f22f25c2c23db5944a9925f6ed206ac9422c41115f
md5=91025ad2e155afad333b2473568c9102
doc/conex.nocrypto/Conex_nocrypto/NC_S/index.html
Module Conex_nocrypto.NC_S
val generate :
?bits:int ->
Conex_utils.Uint.t ->
unit ->
Conex_resource.Key.priv
generate ?bits created ()
generates a bits
sized private key.
val pub_of_priv :
Conex_resource.Key.priv ->
(Conex_resource.Key.t, string) result
pub_of_priv priv
extracts the public key from the private.
val bits : Conex_resource.Key.t -> (int, string) result
bits pub
returns the bit size of the public key.
val sign :
Conex_utils.Uint.t ->
Conex_resource.Author.t ->
Conex_resource.Key.priv ->
(Conex_resource.Author.t, string) result
sign created author priv
uses Conex_resource.Author.prep_sig
to prepare author
(incrementing counter, moving queued resource to signed). Conex_resource.Signature.wire
is used to produce the to-be-signed data. This includes the author name, and the signature algorithm (at the moment RSA-PSS-SHA256).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>