public FxAccount10CreateDelegate( String email, byte[] stretchedPWBytes, String mainSalt, String srpSalt) throws NoSuchAlgorithmException, UnsupportedEncodingException { this.email = email; this.mainSalt = mainSalt; this.srpSalt = srpSalt; byte[] srpSaltBytes = Utils.hex2Byte(srpSalt, FxAccountUtils.SALT_LENGTH_BYTES); this.v = FxAccountUtils.srpVerifierLowercaseV( email.getBytes("UTF-8"), stretchedPWBytes, srpSaltBytes, SRPConstants._2048.g, SRPConstants._2048.N); }