class ScopedKeys {

    public static String encrypt(String apiKey, Map<String, Object> options)
            throws ScopedKeyException {
        if (apiKey.length() == 64) {
            return encrypt(KeenClient.client(), apiKey, options);
        } else {
            return encrypt32CharacterKey(KeenClient.client(), apiKey, options);
        }
    }

}