Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 267 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 267 Bytes

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)