/** * Converts the given AES/HMAC keys into a base64 encoded string suitable for storage. Sister * function of keys. * * @param keys The combined aes and hmac keys * @return a base 64 encoded AES string & hmac key as base64(aesKey) : base64(hmacKey) */ public static String keyString(SecretKeys keys) { return keys.toString(); }