2013-12-01 21:41:04 +00:00
|
|
|
define(function(require) {
|
|
|
|
|
|
|
|
var CryptoAdapters = require('src/adapters/crypto');
|
2013-12-03 20:14:20 +00:00
|
|
|
var ZlibAdapter = require('src/adapters/zlib');
|
2013-12-01 21:41:04 +00:00
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
// Encryption Adatpers
|
|
|
|
AES: CryptoAdapters.AES,
|
|
|
|
TripleDES: CryptoAdapters.TripleDES,
|
|
|
|
Rabbit: CryptoAdapters.Rabbit,
|
2013-12-03 20:14:20 +00:00
|
|
|
|
|
|
|
// Compression Adapters
|
|
|
|
Zlib: ZlibAdapter,
|
|
|
|
|
|
|
|
// Convenience adapters (provide default choices)
|
|
|
|
Compression: ZlibAdapter,
|
2013-12-01 21:41:04 +00:00
|
|
|
Encryption: CryptoAdapters.AES
|
|
|
|
|
|
|
|
};
|
|
|
|
});
|