All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zhbiaocloud.carbon.intg.crypto.HashAlg Maven / Gradle / Ivy

/*
 * Copyright (c) 2018-2023. Chengdu WeiSiFan Technology Co., Ltd.
 * Carbon Integration SDK is licensed under Mulan PSL v2.
 *
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2
 *
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

package com.zhbiaocloud.carbon.intg.crypto;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 摘要算法
 *
 * @author jun
 */
@Getter
@RequiredArgsConstructor
public enum HashAlg {

  /**
   * 数据摘要,用于校验数据完整性
   */
  SHA256("SHA-256"),

  SHA512("SHA-512"),

  MD5("MD5"),

  SM3("SM3"),

  SHA3("SHA3-256"),

  SHA3_512("SHA3-512");

  private final String alg;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy