Description

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

Package Information

Version0.2.0 (2016-Mar-06)
Homepagehttps://github.com/Extrawurst/xtea-d
Repositoryhttps://github.com/Extrawurst/xtea-d
LicenseMIT
CopyrightCopyright © 2014, Stephan Dilly
AuthorsStephan Dilly
Registered byExtrawurst
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

xtea-d Build Status Coverage Status

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": "~>0.1.0",
		...
	}
}

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

import xtea.XteaCrypto;

void main()
{ 
	auto crypto = 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);
}

Available versions

0.2.0 0.1.0 0.0.3 0.0.2 ~master