frida_crypto_hook
Hook crypto APIs on macOS/iOS and Android to capture encryption and decryption operations live, revealing algorithm, key bytes, and I/O sizes.
Instructions
Hook crypto APIs to capture encryption/decryption operations live.
Platform hooks:
macOS/iOS: CCCrypt (CommonCrypto), SecKeyCreateEncryptedData, SecKeyCreateDecryptedData
Android: javax.crypto.Cipher.doFinal (all overloads)
Each captured operation includes: API name, operation type (encrypt/decrypt), algorithm, key bytes (hex), and I/O sizes.
target: process name or pid (string).
duration_seconds: how long to capture (default 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| duration_seconds | No |