module

Yogurt

Constants

ILLEGAL_SYMBOLS = ['"', '\'', '/', '\\']
LOWERCASE_RANGES = [{'a', 'z', false}, {'z', 'a', true}]
NUMBER_RANGES = [{'0', '9', false}, {'9', '0', true}]
SYMBOL_RANGES = [{'!', '/', false}, {'@', ':', true}]
UPPERCASE_RANGES = [{'A', 'Z', false}, {'Z', 'A', true}]
UUID_REGEX = /(.{8})(.{4})(.{4})(.{4})(.{12})/
UUID_REPLACEMENT = "\\1-\\2-\\3-\\4-\\5"
VERSION = "0.1.1"

Class methods

cast_character(tuple : Tuple(Array(Char), Int32), cast : CharacterCast, with_symbol : Bool)
Source
cast_to_ranges(cast : CharacterCast, with_symbol : Bool) : Array(Tuple(Char, Char, Bool)) | Nil
Source
center(full : Int32, limit : Int32) : Tuple(Int32, Int32)
Source
center(text : String, limit : Int32) : Tuple(Int32, Int32)
Source
create_email(domain : String, user_name : String, secure_id : String, length : Int32 = 15, iterations : Int64 = 131072_i64, pbkdf2_iterations : Int64 = 2_i64 ** 5_i64, callback : Proc(Int64, String, Nil) | Nil = nil) : String
Source
create_pin(secret_key : String, secure_id : String, iterations : Int64 = 131072_i64, pbkdf2_iterations : Int64 = 2_i64 ** 5_i64) : String
Source
create_secret_key(master_key : String, secure_id : String, length : Int32 = 20, iterations : Int64 = 131072_i64, with_symbol : Bool = true, pbkdf2_iterations : Int64 = 2_i64 ** 5_i64, callback : Proc(Int64, String, Nil) | Nil = nil) : String
Source
create_secure_id(value : String, length : Int32 = 32)
Source
create_user_name(secret_key : String, secure_id : String, length : Int32 = 15, iterations : Int64 = 131072_i64, pbkdf2_iterations : Int64 = 2_i64 ** 5_i64, callback : Proc(Int64, String, Nil) | Nil = nil) : String
Source
fill_text(text : String, with_symbol : Bool = true) : String
Source
format_user_name(text : String) : String
Source
total(text : String, space : Int32 = 1) : Tuple(Int32, Int32, Int32, Int32)
Source

Nested types