This component is provided by the Data Card
Component name: data
.
crc32(data:string):string
decode64(data:string):string
encode64(data:string):string
md5(data:string):string
sha256(data:string):string
deflate(data:string):string
inflate(data:string):string
getLimit():number
encrypt(data:string, key:string, iv:string):string
decrypt(data:string, key:string, iv:string):string
random(len:number):string
len
length.generateKeyPair([bitLen:number]):table, table
key.serialize():string
Keys also contain the function key.isPublic():boolean
ecdsa(data:string, key:userdata[, sig:string]):string or boolean
ecdh(privateKey:userdata, publicKey:userdata):string
ecdh(userA.private, userB.public) == ecdh(userB.private, userA.public)
deserializeKey(data:string, type:string):table
Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
---|---|---|
Others | Component Access - Signals | |
Cross-Mod Integration | Applied Energistics |