class Steamcr::Crypto

Defined in:

steamcr/crypto.cr

Constant Summary

KEY = "-----BEGIN PUBLIC KEY-----\nMIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDf7BrWLBBmLBc1OhSwfFkRf53T\n2Ct64+AVzRkeRuh7h3SiGEYxqQMUeYKO6UWiSRKpI2hzic9pobFhRr3Bvr/WARvY\ngdTckPv+T1JzZsuVcNfFjrocejN1oWI0Rrtgt4Bo+hOneoo3S57G9F1fOpn5nsQ6\n6WOiu4gZKODnFMBCiQIBEQ==\n-----END PUBLIC KEY-----"

Instance Method Summary

Instance Method Detail

def decrypt(io : Bytes, key) #

[View source]
def encrypt(io : Bytes, key) #

[View source]
def generate_key #

[View source]
def session_key_crc(key) #

[View source]