craone / TEA-Swift

Swift TEA(Tiny Encryption Algorithm)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TEA(Tiny Encryption Algorithm):TEA(Tiny Encryption Algorithm) for Swift

#Sample usage

let key: [UInt32] = [0x00,0x01,0x02,0x03]
var val: [UInt32] = [0x00,0x01]
encryptTEA(Value: &val, Key: key)
print(val)
decryptTEA(Value: &val, Key: key)

print(val)

About

Swift TEA(Tiny Encryption Algorithm)


Languages

Language:Swift 100.0%