AnkaSecure API

The AnkaSecure API is a powerful cryptographic solution that blends post-quantum cryptography (PQC) with classical algorithms to secure your data

29 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

AnkaSecure API endpoints

MethodEndpointDescription
GET exportPublicKey
/api/key-management/public-keys/{alias}
Exports the public key associated with the given alias in Base64 format. This works for: - KEM keys (Kyber) - Classical or PQ signature algorithms (Dilithium, Falcon, RSA) - ECC…
POST encryptData
/api/crypto/asymmetric/encrypt
Encrypts the given Base64-encoded data using the public key associated with the provided alias. Supported algorithms include: - **Kyber** (KEM) - **RSA** (classical) - **ECC**…
POST decryptData
/api/crypto/asymmetric/decrypt
Decrypts previously encrypted Base64-encoded data using the private key associated with the provided alias. Supported algorithms: - **Kyber** (KEM + AES/GCM) - **RSA** (classic)…
POST verifySignature
/api/crypto/verify
Verifies a signature against the provided Base64-encoded data using the public key associated with the alias. Supported algorithms include: - Dilithium, Falcon (post-quantum) -…
POST resignData
/api/crypto/resign
Verifies the old signature (under oldAlias) for the given Base64 data, then signs again with newAlias. This is useful for migrating from classical (RSA) to post-quantum…
POST signData
/api/crypto/sign
Signs the given Base64-encoded data using the private key associated with the given alias. Supported private-key algorithms for signing: - **Dilithium** (post-quantum) -…
POST reencryptData
/api/crypto/reencrypt
Decrypts previously encrypted Base64-encoded data using oldAlias, then re-encrypts with newAlias. Allows migrating ciphertext among RSA, ECC, Kyber (e.g., RSA->Kyber, ECC->Kyber,…
POST decryptDataSymmetric
/api/crypto/symmetric/decrypt
Decrypts previously encrypted Base64-encoded data using the symmetric key identified by the given alias. The input must be in the format: [1 byte IV length] + [IV] + [ciphertext].
POST encryptDataSymmetric
/api/crypto/symmetric/encrypt
Encrypts the given Base64-encoded data using the symmetric key identified by the given alias (e.g., AES-256). The result includes the IV inside the ciphertext, so the format is:…
POST reencryptDataStream
/api/crypto/stream/reencrypt
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing 'oldAlias' and 'newAlias'. - A binary 'file' part containing the old ciphertext to be…
POST decryptDataSymmetricStream
/api/crypto/stream/symmetric/decrypt
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing the alias of the symmetric key to use. - A binary 'file' part with the ciphertext to…
POST decryptDataAsymmetricStream
/api/crypto/stream/asymmetric/decrypt
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing the alias of the private key to use. - A binary 'file' part with the ciphertext to be…
POST verifySignatureStream
/api/crypto/stream/verify
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing the alias (public key) and the signature in Base64. - A binary 'file' part with the…
POST verifyDataAsymmetricPublicKeyUtilityStream
/api/crypto/stream/asymmetric/publickey-verify
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing 'publicKeyBase64', 'signatureBase64' and 'algorithm' (e.g. 'RSA-2048', 'Kyber1024').…
POST encryptDataSymmetricStream
/api/crypto/stream/symmetric/encrypt
Reads plaintext bytes from the 'file' part in streaming mode and encrypts them using the symmetric key identified by 'alias' in the 'metadata' part. The response is streamed as…
DELETE removeKey
/api/key-management/{alias}
Removes a key (and potentially its associated public key) from the keystore. If the alias references a Kyber private key, the corresponding alias+"_pub" is also removed. For…
POST encryptDataAsymmetricPublicKeyUtilityStream
/api/crypto/stream/asymmetric/publickey-encrypt
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing 'publicKeyBase64' and 'algorithm' (e.g. 'RSA-2048', 'Kyber1024'). - A binary 'file'…
POST resignDataStream
/api/crypto/stream/resign
Receives two parts in multipart/form-data: - 'metadata' (JSON) with 'oldAlias', 'newAlias', and 'oldSignatureBase64' - 'file' (binary) with the data to be re-signed If the old…
POST encryptDataAsymmetricStream
/api/crypto/stream/asymmetric/encrypt
Receives the encryption metadata in JSON format (alias, etc.) as a part named 'metadata', and the file or data to be encrypted as a part named 'file'. Streams the resulting…
POST signDataStream
/api/crypto/stream/sign
Receives two parts in multipart/form-data: - A JSON object in the 'metadata' part containing the alias of the private key (RSA, ECC, Dilithium, Falcon, etc.). - A binary 'file'…
POST importPrivateKeyPkcs12
/api/key-management/private-keys
Imports a `.p12` or `.pfx` file containing a private key (and possibly certificates) into the keystore under the specified alias. If the PKCS12 is password-protected, provide…
POST generateSymmetricKey
/api/key-management/symmetric
Generates a symmetric key using the given alias, algorithm, and key size (e.g., AES-256), and stores it in the keystore. **Example**: ```json { "alias": "mySymKey", "algorithm":…
POST importPublicKey
/api/key-management/public-keys
Imports a Base64-encoded public key into the keystore with the given alias and algorithm. - For a KEM key (Kyber), it is stored as a SecretKeyEntry (alias + "_pub"). - For a…
POST generateAsymmetricKey
/api/key-management/asymmetric
Generates an asymmetric key pair (public/private) with the given alias and algorithm. Examples include: - **Kyber512**, **Kyber768**, **Kyber1024** (KEM) - **Dilithium2**,…
GET listKeys
/api/key-management/keys
Lists all keys and certificates stored in the keystore, including their algorithms (AES, Dilithium, Falcon, Kyber, RSA, ECC, etc.). The response now provides a structured JSON…
GET getLicenseInfo
/api/license-management/license-info/{clientId}
Returns the license details (plan tier, expiry date) and usage status (operation counts, data usage, etc.) for the specified client.
POST refreshToken
/api/authenticate/refresh
Generates a new Access Token if the provided Refresh Token is valid and unexpired.
POST appAuth
/api/authenticate/app
Authenticates an application using clientId and clientSecret, plus license check. If valid, returns an Access Token and a Refresh Token.
POST login
/api/authenticate/login
Authenticates a user using username and password, checking license as well. If valid, returns an Access Token and a Refresh Token.

More Cryptography APIs

View all →
  • Crypto API, +50 sources, 30 days history. Search by keywords or phrases. Crypto prices. Includes sentiment…

    CryptographyFreemium940 subscribers
  • This API generate the signature headers (X-Argus, X-Ladon and SEI for streams) for using Tiktok Live Studio…

    CryptographyFreemium345 subscribers
  • TikTok API Signature Generator - Generates x-argus, x-ladon, x-gorgon (8404) and x-khronos. This script is…

    CryptographyFreemium71 subscribers
  • Get the latest crypto news direct from your preferred sources.

    CryptographyFreemium1.9k subscribers
  • Get the latest crypto news direct from your preferred sources (fast & reliable). News sources will be…

    CryptographyFreemium2.7k subscribers
  • The CryptoNews.com API provides developers with access to the latest cryptocurrency news, analysis, and…

    CryptographyFreemium104 subscribers