#NSA Samples are @ ??? @1×0123

Below is a little help in solving the enigma…..Courtesy of

@1×0123

xxx
The latest clue to the whereabouts of the Equation grp tools dump:

<title>ng crypto</title> I can’t help anymore 🙂

This might help….

ng-crypto

ng-crypto provides a simple service to encrypt and decrypt data using AES (using crypto-js](https://code.google.com/p/crypto-js/))

Install (bower)

  • bower install ng-crypto

Usage

  • add dependency (‘ng-crypto’) to angular
  • setup the encryption key in your config
app.config(['$cryptoProvider', function($cryptoProvider){
  $cryptoProvider.setAesKey('ABCD123');
});

Example

app.controller('ExampleController', function($scope, $crypto) {
  var encrypted = $crypto.encrypt('your text');
  var decrypted = $crypto.decrypt(encrypted);
});

or you can use a custom key everytime

app.controller('ExampleController', function($scope, $crypto) {
  var encrypted = $crypto.encrypt('your text', 'a key');
  var decrypted = $crypto.decrypt(encrypted, 'a key');
});
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s