Returns the Blowfish encrypted hash of the string at the given cost. A default cost of 10 will be used if not provided.
Using bcrypt
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function bcrypt(args: BcryptArgs, opts?: InvokeOptions): Promise<BcryptResult>
function bcryptOutput(args: BcryptOutputArgs, opts?: InvokeOptions): Output<BcryptResult>def bcrypt(cost: Optional[int] = None,
input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> BcryptResult
def bcrypt_output(cost: Optional[pulumi.Input[int]] = None,
input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[BcryptResult]func Bcrypt(ctx *Context, args *BcryptArgs, opts ...InvokeOption) (*BcryptResult, error)
func BcryptOutput(ctx *Context, args *BcryptOutputArgs, opts ...InvokeOption) BcryptResultOutput> Note: This function is named Bcrypt in the Go SDK.
public static class Bcrypt
{
public static Task<BcryptResult> InvokeAsync(BcryptArgs args, InvokeOptions? opts = null)
public static Output<BcryptResult> Invoke(BcryptInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<BcryptResult> bcrypt(BcryptArgs args, InvokeOptions options)
public static Output<BcryptResult> bcrypt(BcryptArgs args, InvokeOptions options)
fn::invoke:
function: std:bcrypt
arguments:
# arguments dictionaryThe following arguments are supported:
bcrypt Result
The following output properties are available:
- Result string
- Result string
- result String
- result string
- result str
- result String
Package Details
- Repository
- std pulumi/pulumi-std
- License
