PWCrypto class

Constructors

PWCrypto()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

base36ToString(String string) String
Base 36.
binaryToString(String string) String
Binary (base 2).
hexToString(String string) String
Hexadecimal (base 16).
isNumero(String numero) bool
isPar(num n) bool
octoToString(String string) String
Octal (base 8).
potencia(int numero, int potencia) int
radixToString(String string, {int radix = 2, String separadorPalavras = " ", String separadorBits = "."}) String
stringToBase36(String string) String
Base 36.
stringToBinary(String string) String
Valores aceitos: Binary (base 2).
stringToHex(String string) String
Hexadecimal (base 16).
stringToOcto(String string) String
Octal (base 8).
stringToRadix(String string, {int radix = 2, String separadorPalavras = " ", String separadorBits = "."}) String
Example: Binary print(12.toRadixString(2)); // 1100 print(31.toRadixString(2)); // 11111 Octal print(12.toRadixString(8)); // 14 print(31.toRadixString(8)); // 37 Hexadecimal print(12.toRadixString(16)); // c print(2021.toRadixString(16)); // 7e5 Base 36 print((35 * 36 + 1).toRadixString(36)); // z1