StringExtensions extension

on

Properties

hmacSha256ToBase64 String
HMAC-SHA256
no setter
isCNPhoneNumber bool
验证国内手机号码
no setter
isEmail bool
验证邮箱
no setter
isWeakPassword bool
是否是弱密码
no setter
md5 String
MD5
no setter

Methods

hasMatch(String pattern) bool
RegExp Match pattern
hmacSha256({required String key}) String
HMAC-SHA256