This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo 加密
用于加密操作的通用库。
Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~58.0.6
expo-crypto 使你能够以与 Node.js 核心 crypto API 等效的方式对数据进行哈希,并执行诸如 AES 加密和解密等加密操作。
安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
🌐 Usage
Basic Crypto usage
AES 加密与解密
🌐 AES encryption and decryption
Simple encryption / decryption
应用接口
🌐 API
import * as Crypto from 'expo-crypto';
No API data file found, sorry!
错误代码
🌐 Error codes