Add Spinner support for kyber keys.

This commit is contained in:
Greyson Parrelli
2023-07-08 11:21:12 -04:00
committed by Clark Chen
parent c359207f1f
commit 500ae0c72e
6 changed files with 34 additions and 6 deletions

View File

@@ -22,6 +22,10 @@ public final class Base64 {
return org.whispersystems.util.Base64.encodeBytes(source);
}
public static @NonNull String encodeBytesWithoutPadding(@NonNull byte[] source) {
return org.whispersystems.util.Base64.encodeBytesWithoutPadding(source);
}
public static @NonNull byte[] decodeOrThrow(@NonNull String s) {
try {
return org.whispersystems.util.Base64.decode(s);