Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddu_vim/deps.ts>fn.sha256

Dark deno-powered UI framework for neovim/Vim
Go to Latest
function fn.sha256
import { fn } from "https://deno.land/x/ddu_vim@v4.0.0/deps.ts";
const { sha256 } = fn;

Returns a String with 64 hex characters, which is the SHA256 checksum of {string}.

Can also be used as a method:

GetText()->sha256()

only available when compiled with the +cryptv feature

Parameters

denops: Denops
string: unknown

Returns

Promise<string>