網頁文字
4 個節點
本頁內容 4
雜湊密碼
函數A password made safe to store: salted and stretched (PBKDF2 with SHA-256), so the stored text cannot be turned back into the password. Store this, never the password; check a sign-in with Verify Password.
簽名
雜湊密碼(密碼: 文字) -> 文字
string HashPassword(string password)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 密碼 | 文字 | — |
返回
| 雜湊 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 網頁文字
- 所屬包
- 網路應用
HTML 編碼
函數A value as page text: <, >, & and quotes escaped, so what a visitor typed is shown and never run.
簽名
HTML 編碼(文字: 文字) -> 文字
string HtmlEncode(string text)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 文字 | 文字 | — |
返回
| HTML | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 網頁文字
- 所屬包
- 網路應用
JSON 文字
函數A value as a JSON string, quotes included and everything that needs it escaped - to put into a JSON template made with Format, e.g. {{"title": {0}}}.
簽名
JSON 文字(文字: 文字) -> 文字
string JsonString(string text)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 文字 | 文字 | — |
返回
| JSON | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 網頁文字
- 所屬包
- 網路應用
驗證密碼
函數Whether a password is the one a stored hash was made from (by Hash Password). False for anything that is not such a hash.
簽名
驗證密碼(密碼: 文字, 雜湊: 文字) -> 真否
bool VerifyPassword(string password, string hash)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 密碼 | 文字 | — | |
| 雜湊 | 文字 | — |
返回
| 是否匹配 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 網頁文字
- 所屬包
- 網路應用