Skip to content

nkrapivin/GMKrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GMKrypt

A GMKrypt implementation... in GML...

Usage

// Let's imagine this is uh... your game?

///Saving
var saveBuffer = scr_save();
var bufferToSave = buffer_gmkrypt_encrypt(saveBuffer);
buffer_save(bufferToSave, "save.dat");
buffer_delete(bufferToSave);
buffer_delete(saveBuffer);

///Loading
var bufferToDecrypt = buffer_load("save.dat");
var actualBuff = buffer_gmkrypt_decrypt(bufferToDecrypt);
scr_load(actualBuff);
buffer_delete(actualBuff);
buffer_delete(bufferToDecrypt);

Credits

IsmAvatar for this nice paper http://ismavatar.com/lgm/formats/gmkrypt1.html

About

A GMKrypt implementation... in GML...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published