Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Rfc6287
SourceRFC6287 (OCRA)
The abstract OCRA suite
type
type di = {
c : bool;
C
*)q : [ `A | `N | `H ] * int;
Q
*)p : [ `SHA1 | `SHA256 | `SHA512 ] option;
P
*)s : int option;
S
*)t : int option;
T
*)}
val gen :
?time:int64 ->
?c:int64 ->
?p:pinhash ->
?s:Cstruct.t ->
?t:timestamp ->
key:Cstruct.t ->
q:string ->
t ->
(Cstruct.t, err) Rresult.result
Generate OCRA(K, {[C] | Q | [P | S | T]})
.