Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -50,7 +50,7 @@ final class RIPEMD160 {
|
|||
}
|
||||
|
||||
private static byte[] addPadding(String aMessage) {
|
||||
byte[] bytes = aMessage.getBytes(StandardCharsets.UTF_8);
|
||||
byte[] bytes = aMessage.getBytes(StandardCharsets.ISO_8859_1);
|
||||
bytes = Arrays.copyOf(bytes, bytes.length + 1);
|
||||
bytes[bytes.length - 1] = (byte) 0x80;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue