Module strings

Source
Expand description

String libraries.

Functionsยง

hex_addr_to_u128
To transfer hex address string to 128-bit integer.
is_account
To check if the account is valid.
is_code
To check if the (unit/application/network) code is valid.
is_scope
To check if the (client) scope is valid.
is_uri
To check if the (redirect) URI is valid.
password_hash
To hash the password.
random_id
To generate item ID in [timestamp-milliseconds]-[random-alphanumeric] format.
random_id_sha
To generate hex-string item ID using random_id and additional hash.
randomstring
To generate random alphanumeric string with the specified length.
time_str
To convert time to RFC 3339 format with milliseconds precision (YYYY-MM-DDThh:mm:ss.SSSZ).
u128_to_addr
To generate hex address string with the specified length (hex string length).