Modifying methods to be public to match package division

This commit is contained in:
Pim Otte 2017-02-23 16:49:14 +01:00 committed by AsamK
parent d91e20e1f8
commit a5aeec8902
18 changed files with 158 additions and 66 deletions

View file

@ -1,11 +1,11 @@
package org.asamk.signal;
package org.asamk.signal.util;
import java.io.File;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
class Util {
public class Util {
public static String getSecret(int size) {
byte[] secret = getSecretBytes(size);
return Base64.encodeBytes(secret);