B2G/gecko/services/sync/modules/util.js
/**
   * Turn RFC 4648 base32 into our own user-friendly version.
   *   ABCDEFGHIJKLMNOPQRSTUVWXYZ234567
   * becomes
   *   abcdefghijk8mn9pqrstuvwxyz234567
   */
Turn RFC 4648 base32 into our own user-friendly version.
Turn RFC 4648 base32 into our own user - friendly version .
function base32ToFriendly(input) {
    return input.toLowerCase()
                .replace("l", '8', "g")
                .replace("o", '9', "g");
  }
function base32ToFriendly ( input ) { return input . toLowerCase ( ) . replace ( "l" , '8' , "g" ) . replace ( "o" , '9' , "g" ) ; }
Turn RFC 4648 base32 into our own user-friendly version.
Turn RFC 4648 base32 into our own user - friendly version .