MCPcopy Index your code
hub / github.com/bcrypt-ruby/bcrypt-ruby / char64

Method char64

ext/jruby/bcrypt_jruby/BCrypt.java:425–429  ·  view source on GitHub ↗

Look up the 3 bits base64-encoded by the specified character, range-checking againt conversion table @param x the base64-encoded value @return the decoded value of x

(char x)

Source from the content-addressed store, hash-verified

423 * @return the decoded value of x
424 */
425 private static byte char64(char x) {
426 if ((int) x < 0 || (int) x >= index_64.length)
427 return -1;
428 return index_64[(int) x];
429 }
430
431 /**
432 * Decode a string encoded using bcrypt's base64 scheme to a

Callers 1

decode_base64Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected