BIP 38 NFC normalisation issue



Summary:

Andreas' code is performing normalization, but the output bytes are different. The discrepancy is due to a character from the astral planes, which Java doesn't support because it uses 16-bit characters internally. As a result, any implementation that wants to work with JVM-based wallets should refuse passphrases that include characters outside the BMP unless someone can find a fix. This likely won't have a significant impact on users.


Updated on: 2023-06-09T00:56:34.829579+00:00