Library
Module
Module type
Parameter
Class
Class type
RFC6287 (OCRA)
val t_of_string : string -> (t, err) Rresult.result
val string_of_t : t -> string
val challenge : t -> string
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]})
.