Back to project page android-simple-storage.
The source code is released under:
Apache License
If you think the Android project android-simple-storage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sromku.simple.storage.security; /*w w w. java 2s.c om*/ /** * <em>https://en.wikipedia.org/wiki/Block_cipher_modes_of_operation</em> * * @author Roman Kushnarenko - sromku (sromku@gmail.com) * */ public enum CipherModeType { /** * Cipher Block Chaining Mode */ CBC("CBC"), /** * Electronic Codebook Mode */ ECB("ECB"); private String mName; private CipherModeType(String name) { mName = name; } /** * Get the algorithm name of the enum value. * * @return The algorithm name */ public String getAlgorithmName() { return mName; } }