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

x/ddc_vim/deps.ts>fn.sha256

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.sha256
import { fn } from "https://deno.land/x/ddc_vim@v4.1.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>