xtea-d 0.1.0

XTEA cryptography algorithm implementation in D (eXtended Tiny Encryption Algorithm)


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

xtea-d

XTEA cryptography algorithm implementation in D (eXtended Tiny Encryption Algorithm)

usage:

This is a dub library (http://code.dlang.org/about). Just add dependancy to your package.json:

{
	...
	"dependencies": {
		"xtea-d": "~master",
		...
	}
}

A simple source code example is in the provided app.d and looks like this:

import xtea.XteaCrypto;

void main()
{ 
	auto crypto = new XTEA([1,2,3,4], 64);

	auto data = [0,1,2,3,4,5,6,7];

	writefln("data:\t%s",data);
	
	crypto.Encrypt(data);

	writefln("encrypted:\t%s",data);
}
Authors:
  • Stephan Dilly
Dependencies:
none
Versions:
0.2.1 2018-Oct-02
0.2.0 2016-Mar-06
0.1.0 2014-Dec-05
0.0.3 2014-Jul-09
0.0.2 2013-Nov-11
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 605 downloads total

Score:
1.3
Short URL:
xtea-d.dub.pm