aes-decrypter

WebJar for aes-decrypter

Лицензия

Лицензия

Apache-2.0
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

aes-decrypter
Последняя версия

Последняя версия

3.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

aes-decrypter
WebJar for aes-decrypter
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/videojs/aes-decrypter

Скачать aes-decrypter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/aes-decrypter/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>aes-decrypter</artifactId>
    <version>3.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/aes-decrypter/
implementation 'org.webjars.npm:aes-decrypter:3.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/aes-decrypter/
implementation ("org.webjars.npm:aes-decrypter:3.1.2")
'org.webjars.npm:aes-decrypter:jar:3.1.2'
<dependency org="org.webjars.npm" name="aes-decrypter" rev="3.1.2">
  <artifact name="aes-decrypter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='aes-decrypter', version='3.1.2')
)
libraryDependencies += "org.webjars.npm" % "aes-decrypter" % "3.1.2"
[org.webjars.npm/aes-decrypter "3.1.2"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.webjars.npm : babel__runtime jar [7.12.5,8)
org.webjars.npm : videojs__vhs-utils jar [3.0.0,4)
org.webjars.npm : global jar [4.4.0,5)
org.webjars.npm : pkcs7 jar [1.0.4,2)

Модули Проекта

Данный проект не имеет модулей.

aes-decrypter

Build Status Greenkeeper badge Slack Status

NPM

Installation

npm install --save aes-decrypter

Also available to install globally:

npm install --global aes-decrypter

The npm installation is preferred, but Bower works, too.

bower install  --save aes-decrypter

Usage

To include decrypter on your website or npm application, use any of the following methods.

var Decrypter = require('aes-decrypter').Decrypter;
var fs = require('fs');
var keyContent = fs.readFileSync('something.key');
var encryptedBytes = fs.readFileSync('somithing.txt');

// keyContent is a string of the aes-keys content
var keyContent = fs.readFileSync(keyFile);

var view = new DataView(keyContent.buffer);
var key.bytes = new Uint32Array([
  view.getUint32(0),
  view.getUint32(4),
  view.getUint32(8),
  view.getUint32(12)
]);

key.iv = new Uint32Array([
  0, 0, 0, 0
]);

var d = new Decrypter(
  encryptedBytes,
  key.bytes,
  key.iv,
  function(err, decryptedBytes) {
    // err always null
});

License

Apache-2.0. Copyright (c) Brightcove, Inc.

org.webjars.npm

Video.js

Web Video Framework

Версии библиотеки

Версия
3.1.2
3.1.0
3.0.2
3.0.1
3.0.0