首页 > 代码库 > SAP ABAP编程 字符串加密-MD5_CALCULATE_HASH_FOR_CHAR
SAP ABAP编程 字符串加密-MD5_CALCULATE_HASH_FOR_CHAR
DATA: str1 TYPE c LENGTH 12 VALUE ‘zxcv‘,
str2 TYPE c LENGTH 32,
str3 TYPE c LENGTH 32.
CALL FUNCTION ‘MD5_CALCULATE_HASH_FOR_CHAR‘
EXPORTING
data = str1
length = 0
* VERSION = 1
IMPORTING
hash = str2.
WRITE: / ‘原来:‘, str1.
str2 TYPE c LENGTH 32,
str3 TYPE c LENGTH 32.
CALL FUNCTION ‘MD5_CALCULATE_HASH_FOR_CHAR‘
EXPORTING
data = str1
length = 0
* VERSION = 1
IMPORTING
hash = str2.
WRITE: / ‘原来:‘, str1.
WRITE: / ‘改动:‘, str2.
SAP ABAP编程 字符串加密-MD5_CALCULATE_HASH_FOR_CHAR
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。