index.ts•1.03 kB
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { generatePassword } from './lib/actions/generate-password';
import { hashText } from './lib/actions/hash-text';
import { hmacSignature } from './lib/actions/hmac-signature';
import { base64Decode } from './lib/actions/base64-decode';
import { base64Encode } from './lib/actions/base64-encode';
import { openpgpEncrypt } from './lib/actions/openpgp-encrypt';
export const Crypto = createPiece({
displayName: 'Crypto',
description: 'Generate random passwords and hash existing text',
auth: PieceAuth.None(),
minimumSupportedRelease: '0.30.0',
logoUrl: 'https://cdn.activepieces.com/pieces/crypto.png',
categories: [PieceCategory.CORE],
authors: ['AbdullahBitar', 'kishanprmr', 'abuaboud', 'matthieu-lombard', 'antonyvigouret', 'danielpoonwj', 'prasanna2000-max'],
actions: [hashText, hmacSignature, generatePassword, base64Decode, base64Encode, openpgpEncrypt],
triggers: [],
});