feat(v1.4.1): add native proposal module, Lover Accept Checker AI, and modules documentation catalog
This commit is contained in:
1 parent
4895c201c1
commit
b7ae6c9725
20 files changed
+600
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# 🔐 AiraLang `crypto` Module
|
||||
> **Cryptographic Hashing & Encoding**
|
||||
|
||||
## Import
|
||||
```aira
|
||||
import "crypto";
|
||||
```
|
||||
|
||||
## Methods
|
||||
- `crypto.md5(text)`: Generate MD5 hex digest.
|
||||
- `crypto.sha256(text)`: Generate SHA-256 hex digest.
|
||||
- `crypto.sha1(text)`: Generate SHA-1 hex digest.
|
||||
- `crypto.base64_encode(text)`: Base64 encoding.
|
||||
- `crypto.base64_decode(encoded)`: Base64 decoding.
|
||||
|
||||
## Example
|
||||
```aira
|
||||
import "crypto";
|
||||
|
||||
say "Hash: " + crypto.sha256("admin123");
|
||||
```
|
||||
Reference in new issue
Block a user