Socket
Book a DemoInstallSign in
Socket

@k6-contrib/fields-encrypted

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@k6-contrib/fields-encrypted

Keystone 6 Reversible encryption field

latest
Source
npmnpm
Version
7.1.0
Version published
Maintainers
1
Created
Source

Encrypted Field

import { encrypted } from '@k6-contrib/fields-encrypted';
import 'dotenv/config';

const Product = list({
  fields: {
    title: text({ validation: { isRequired: true } }),
    content: text(),
    encrypted: encrypted({reverse: true, secret: "some secret to encrypt with}), // reverse option lets you see the value in admin ui or in graphql
    encrypted2: encrypted({secret: "some secret to encrypt with}),
  },
});

FAQs

Package last updated on 17 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts