Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReferenceError: Crypt is not defined

See original GitHub issue

Initializing Crypt() wont work. Console gives an error Uncaught ReferenceError: Crypt is not defined. I have tried initializing it like so var crypt=new Crypt();. I am trying to encrypt data on the client’s browser. I have used this hybrid-crypto.min.js Please assist me! I’m still new to JavaScript and might be missing something very simple. I’m stuck and want to complete the project i am working on.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

manishsingh10895commented, Jun 22, 2018

For anyone else with the same problem, use lower case crypt

var cr = new crypt();

juhoencommented, Aug 20, 2019

This should be fixed in commit d79d218.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReferenceError: CryptoJs is not defined - Stack Overflow
ReferenceError: CryptoJs is not defined ; There's an error in the JS file itself. – Sebastian Simon. Dec 28, 2018 at 10:21 ;...
Read more >
Uncaught ReferenceError: CryptoJS is not defined : r/code
I tried importing cryptoJS into my html file via the script tag but it keeps giving me the same error. <script src=" ...
Read more >
Javascript – Gettitng ReferenceError: “CryptoJS” is not defined
I have written javascript to for RSASHA256 but gettitng error crypto.js is not defined. function aaa(message,secret) { <script src="http://crypto- ...
Read more >
Node.js Crypto Module - W3Schools
Definition and Usage. The crypto module provides a way of handling encrypted data. Syntax. The syntax for including the crypto module in your...
Read more >
MacOs - Uncaught ReferenceError: crypto is not defined
Hi, I using the nanoid npm package, works fine on the web, but when I try the mac os version build I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found