Encoding, Hashing & Input
Character codes
.ord() → int
log "A".ord() // 65Base64, hex & binary
.btoa() → string / .atob() → string
log "hi".btoa() // "aGk="
log "aGk=".atob() // "hi".encodeHex() / .decodeHex() → string
.encodeBin() / .decodeBin() → string
Hashing
.hashMD5() / .hashSHA1() / .hashSHA256() / .hashSHA512() → string
Input
.ask() → result
Last updated