Rayo::Bcrypt::Pool
Inherits Rayo::Uring::Handler < Reference < Object
Constructors
new(threads = 1, capacity = 128, cost : Int32 = 10, window_ms : Int32 = 1)
SourceClass methods
complete_context(result : Result, state : UInt64) : Nil
SourceInstance methods
attach
Sourcefd
Sourcehash(password : Bytes, state = 0_u64, &callback : Result, UInt64 -> Nil) : Nil
Sourcehash(ctx : Context, password : Bytes, &callback : Result, Context -> Nil) : Nil
Sourceon_closed
Sourceon_data(ptr : Pointer(UInt8), len : Int32) : Nil
Sourceon_sent(result : Int32) : Nil
Sourceverify(password : Bytes, hash : Bytes, state = 0_u64, &callback : Result, UInt64 -> Nil) : Nil
Sourceverify(ctx : Context, password : Bytes, hash : Bytes, &callback : Result, Context -> Nil) : Nil
Source