mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Add Spinner support for kyber keys.
This commit is contained in:
committed by
Clark Chen
parent
c359207f1f
commit
500ae0c72e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user