# How to use 'crypto' / 'crypto-browserify' in Kibana plugin?

**URL:** <https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718>\
**Category:** Kibana\
**Created:** [May 5, 2017, 1:21pm UTC](https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718 "2017-05-05T13:21:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eskampette](https://avatars.discourse-cdn.com/v4/letter/e/7bcc69/32.png) [@Eskampette](https://discuss.elastic.co/u/Eskampette)\
**Post date:** [May 5, 2017, 1:21pm UTC](https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718/1 "2017-05-05T13:21:53Z")

</div>

Hello,

From my Kibana plugin app, I am trying to use "require('crypto');" / "require('crypto-browserify');".

On Kibana, I am facing the following error:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a65c485549206758b06dcee8157c231a278918c3.jpg)

I am wondering what did I miss? Or is it even possible to use those modules?

Best Regards,  
Antoine.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [May 5, 2017, 2:34pm UTC](https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718/2 "2017-05-05T14:34:27Z")

</div>

I ran into this error too recently. I've just created a bug for it: [https://github.com/elastic/kibana/issues/11619](https://github.com/elastic/kibana/issues/11619).

---

<div class="post-metadata">

**Author:** ![Eskampette](https://avatars.discourse-cdn.com/v4/letter/e/7bcc69/32.png) [@Eskampette](https://discuss.elastic.co/u/Eskampette)\
**Post date:** [May 5, 2017, 2:49pm UTC](https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718/3 "2017-05-05T14:49:36Z")

</div>

Thank you very much Shaunak.

I will follow this issue closely.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 2, 2017, 3:02pm UTC](https://discuss.elastic.co/t/how-to-use-crypto-crypto-browserify-in-kibana-plugin/84718/4 "2017-06-02T15:02:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
