api

blowfish.ch

Declarations in blowfish.ch

1 declarationsbcrypt

Declarations

Public only
bcrypt#
Publicnamespace
namespace bcrypt
BF_word#
Publictypealias
type BF_word = uint
BF_word_signed#
Publictypealias
type BF_word_signed = int
BF_ctx#
Publicstruct
struct BF_ctx { var S : BF_word[256][4] var P : BF_word[18] }
new#
PublicfunctionConstructor
func new() : BF_ctx
bf_round#
function
func bf_round(ctx : &BF_ctx, L : &uint, R : &uint, n : int) : void
BF_ROUND equivalent
bf_encrypt#
Publicfunction
func bf_encrypt(ctx : &BF_ctx, L : &uint, R : &uint) : void
bf_body#
function
func bf_body(ctx : &BF_ctx) : void
Internal Eksblowfish body
bf_set_key#
Publicfunction
func bf_set_key(key : string_view, expanded : uint[18], initial : uint[18], flags : u8) : void
bf_encode#
function
func bf_encode(dst : &string, src : uint[6], size : int) : void
bf_decode#
function
func bf_decode(dst : uint[4], src : string_view, size : int) : bool
bf_swap#
function
func bf_swap(x : uint[], count : int) : void
bf_crypt#
Publicfunction
func bf_crypt(key : string_view, setting : string_view) : string