<commit_before>/*
 * Copyright (c) 2016 ChoiceMaker LLC and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License
 * v1.0 which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     ChoiceMaker LLC - initial API and implementation
 */
package com.choicemaker.xmlencryption;

class DefaultAlgorithms {

	/**
	 * This value may be passed to the AWS KMS service. (The passed value must be
	 * either AES_128 or AES_256.)
	 */
	public static final String DEFAULT_AWS_KEY_ENCRYPTION_ALGORITHM = "AES_128";

	/**
	 * This value appears as the value of the Algorithm attribute on the
	 * EncryptionMethod element within an EncryptedKey element. The value of
	 * this constant is not used for any computation. It is purely informative.
	 * Encryption and decryption work just as well if the value of this manifest
	 * constant is set to {@link #DEFAULT_AWS_KEY_ENCRYPTION_ALGORITHM}.
	 */
	public static final String DECLARED_KEY_ENCRYPTION =
		"http://www.w3.org/2001/04/xmlenc#kw-aes128";

	/**
	 * This value appears as the value of the Algorithm attribute of the
	 * EncryptionMethod element within the EncryptedData element. It is also
	 * used to look up an instance XMLCipher that is then used to encrypt an XML
	 * document.
	 */
	public static final String DEFAULT_DOC_ENCRYPT_ALGORITHM =
		"http://www.w3.org/2001/04/xmlenc#aes128-cbc";

	/**
	 * <strong>This value requires the Java Cryptography Extension (JCE)
	 * Unlimited Strength Jurisdiction Policy Files to be installed in host
	 * JVM.</strong>
	 * <p/>
	 * This value may be passed to the AWS KMS service. (The passed value must be
	 * either AES_128 or AES_256.)
	 */
	public static final String STRONG_AWS_KEY_ENCRYPTION_ALGORITHM = "AES_256";

	/**
	 * This value appears as the value of the Algorithm attribute on the
	 * EncryptionMethod element within an EncryptedKey element. The value of
	 * this constant is not used for any computation. It is purely informative.
	 */
	public static final String DECLARED_STRONG_ENCRYPTION =
		"http://www.w3.org/2001/04/xmlenc#kw-aes256";

	/**
	 * <strong>This value requires the Java Cryptography Extension (JCE)
	 * Unlimited Strength Jurisdiction Policy Files to be installed in host
	 * JVM.</strong>
	 * <p/>
	 * This value appears as the value of the Algorithm attribute of the
	 * EncryptionMethod element within the EncryptedData element. It is also
	 * used to look up an instance XMLCipher that is then used to encrypt an XML
	 * document.
	 */
	public static final String STRONG_DOC_ENCRYPT_ALGORITHM =
		"http://www.w3.org/2001/04/xmlenc#aes256-cbc";

	private DefaultAlgorithms() {
	}

}
<commit_msg>Change access of DefaultAlgorithms class to public<commit_after>/*
 * Copyright (c) 2016 ChoiceMaker LLC and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License
 * v1.0 which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     ChoiceMaker LLC - initial API and implementation
 */
package com.choicemaker.xmlencryption;

public class DefaultAlgorithms {

	/**
	 * This value may be passed to the AWS KMS service. (The passed value must be
	 * either AES_128 or AES_256.)
	 */
	public static final String DEFAULT_AWS_KEY_ENCRYPTION_ALGORITHM = "AES_128";

	/**
	 * This value appears as the value of the Algorithm attribute on the
	 * EncryptionMethod element within an EncryptedKey element. The value of
	 * this constant is not used for any computation. It is purely informative.
	 * Encryption and decryption work just as well if the value of this manifest
	 * constant is set to {@link #DEFAULT_AWS_KEY_ENCRYPTION_ALGORITHM}.
	 */
	public static final String DECLARED_KEY_ENCRYPTION =
		"http://www.w3.org/2001/04/xmlenc#kw-aes128";

	/**
	 * This value appears as the value of the Algorithm attribute of the
	 * EncryptionMethod element within the EncryptedData element. It is also
	 * used to look up an instance XMLCipher that is then used to encrypt an XML
	 * document.
	 */
	public static final String DEFAULT_DOC_ENCRYPT_ALGORITHM =
		"http://www.w3.org/2001/04/xmlenc#aes128-cbc";

	/**
	 * <strong>This value requires the Java Cryptography Extension (JCE)
	 * Unlimited Strength Jurisdiction Policy Files to be installed in host
	 * JVM.</strong>
	 * <p/>
	 * This value may be passed to the AWS KMS service. (The passed value must be
	 * either AES_128 or AES_256.)
	 */
	public static final String STRONG_AWS_KEY_ENCRYPTION_ALGORITHM = "AES_256";

	/**
	 * This value appears as the value of the Algorithm attribute on the
	 * EncryptionMethod element within an EncryptedKey element. The value of
	 * this constant is not used for any computation. It is purely informative.
	 */
	public static final String DECLARED_STRONG_ENCRYPTION =
		"http://www.w3.org/2001/04/xmlenc#kw-aes256";

	/**
	 * <strong>This value requires the Java Cryptography Extension (JCE)
	 * Unlimited Strength Jurisdiction Policy Files to be installed in host
	 * JVM.</strong>
	 * <p/>
	 * This value appears as the value of the Algorithm attribute of the
	 * EncryptionMethod element within the EncryptedData element. It is also
	 * used to look up an instance XMLCipher that is then used to encrypt an XML
	 * document.
	 */
	public static final String STRONG_DOC_ENCRYPT_ALGORITHM =
		"http://www.w3.org/2001/04/xmlenc#aes256-cbc";

	private DefaultAlgorithms() {
	}

}

{'fraction_non_alphanumeric': 0.07425919314530526, 'fraction_numerical': 0.023563013209568013, 'mean_word_length': 3.8218588640275386, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6987704', 'n_tokens_mistral': 1838, 'n_tokens_neox': 1583, 'n_words': 655}