zeroxkey_encoding library
Classes
Functions
-
base64StringToBase64UrlEncodedString(
String input) → String - Converts a base64-encoded string to a base64 URL-encoded string.
-
hexToAscii(
String hexString) → String - Converts a hexadecimal string to an ASCII string.
-
normalizePadding(
Uint8List byteArray, int targetLength) → Uint8List - Normalizes the padding of a byte array with 0's to match a target length.
-
stringToBase64urlString(
String input) → String - Converts a given string into a Base64 URL-encoded string.
-
uint8ArrayFromHexString(
String hexString, [int? length]) → Uint8List -
Converts a hexadecimal string to a
Uint8List. -
uint8ArrayToHexString(
Uint8List input) → String -
Converts a
Uint8Listto a hexadecimal string.