Skip to content

ActionScript (AS3) library for processing binary data. This library contains MD5, SHA-1, SHA-2 ( SHA-224 и SHA-256 ), Base64, CRC32 algorithms, JSON encoder & decoder as well as PNG and JPEG encoders.

License

Notifications You must be signed in to change notification settings

agera-air/by.blooddy.crypto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wiki Download Last Release Licence

ActionScript (AS3) library for processing binary data.

Description

This library contains MD5, SHA-1, SHA-2 ( 224 и 256 ), Base64, CRC32 algorithms, JSON encoder & decoder as well as PNG and JPEG encoders.

Examples

Sync
import by.blooddy.crypto.MD5;
var result:String = MD5.hash( 'text' );
Async
import by.blooddy.crypto.MD5;
import by.blooddy.crypto.events.ProcessEvent;

var md5:MD5 = new MD5();
md5.hash( 'text' );
md5.addEventListener( ProcessEvent.COMPLETE, function(event:ProcessEvent):void {
	var result:String = event.data;
	trace( result ); // async result
} );
md5.addEventListener( ProcessEvent.ERROR, function(event:ProcessEvent):void {
	var error:Error = event.data;
	trace( error ); // async error
} );

About

ActionScript (AS3) library for processing binary data. This library contains MD5, SHA-1, SHA-2 ( SHA-224 и SHA-256 ), Base64, CRC32 algorithms, JSON encoder & decoder as well as PNG and JPEG encoders.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ActionScript 100.0%