@Test public void testCreateWalletId2() throws Exception { SeedPhraseGenerator seedGenerator = new Bip39SeedPhraseGenerator(); byte[] seed = seedGenerator.convertToSeed(Bip39SeedPhraseGenerator.split(SEED_PHRASE_2)); BRITWalletId walletId = new BRITWalletId(seed); assertThat(walletId).isNotNull(); assertThat(walletId.getBytes()).isNotNull(); String walletIdString = Utils.HEX.encode(walletId.getBytes()); assertThat(walletIdString).isEqualTo(WALLET_ID_2); }
public byte[] getBytes() { return Arrays.copyOf(britWalletId, britWalletId.length); }
BRITWalletId { public byte[] getBytes() { return Arrays.copyOf(britWalletId, britWalletId.length); } }
BRITWalletId { public byte[] getBytes() { return Arrays.copyOf(britWalletId, britWalletId.length); } BRITWalletId(byte[] seed);  BRITWalletId(String britWalletIdInHex); }
BRITWalletId { public byte[] getBytes() { return Arrays.copyOf(britWalletId, britWalletId.length); } BRITWalletId(byte[] seed);  BRITWalletId(String britWalletIdInHex); byte[] getBytes(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
BRITWalletId { public byte[] getBytes() { return Arrays.copyOf(britWalletId, britWalletId.length); } BRITWalletId(byte[] seed);  BRITWalletId(String britWalletIdInHex); byte[] getBytes(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }