src/Javascript/Mozilla/old_snapshots/sync/modules/util.js
/**
   * N.B., salt should be base64 encoded, even though we have to decode
   * it later!
   */
N.B., salt should be base64 encoded, even though we have to decode
it later!
N . B . salt should be base64 encoded even though we have to decode it later!
function derivePresentableKeyFromPassphrase(passphrase, salt, keyLength, forceJS) {
    let k = CryptoUtils.deriveKeyFromPassphrase(passphrase, salt, keyLength,
                                                forceJS);
    return Utils.encodeKeyBase32(k);
  }
function derivePresentableKeyFromPassphrase ( passphrase , salt , keyLength , forceJS ) { let k = CryptoUtils . deriveKeyFromPassphrase ( passphrase , salt , keyLength , forceJS ) ; return Utils . encodeKeyBase32 ( k ) ; }
N.B., salt should be base64 encoded, even though we have to decode
 it later!
N . B . salt should be base64 encoded even though we have to decode it later!