Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Move deprecated ciphers to a new file #398

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/javascript/crypto/e2e/algorithm/all_ciphers.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,10 @@ goog.provide('e2e.cipher.all');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Aes');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Blowfish');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Cast5');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Des');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Ecdh');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.ElGamal');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Idea');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Rsa');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.RsaEncrypt');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.TripleDes');
32 changes: 32 additions & 0 deletions src/javascript/crypto/e2e/algorithm/deprecated_ciphers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* @license
* Copyright 2017 Google Inc. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @fileoverview Requires deprecated ciphers () to load them into the factory.
*/
/** @suppress {extraProvide} this aggregation needs a namespace */
goog.provide('e2e.cipher.deprecated');

/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Blowfish');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Cast5');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Des');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.Idea');
/** @suppress {extraRequire} intentional import */
goog.require('e2e.cipher.TripleDes');