[DiscordArchive] Hello, where is the createVerifier for SRP6 Auth in AzerothCore please ?
[DiscordArchive] Hello, where is the createVerifier for SRP6 Auth in AzerothCore please ?
![[Image: image.png?ex=690bd56a&is=690a83ea&hm=440...18c5048e3&]](https://cdn.discordapp.com/attachments/284323424032129024/1050726881336504377/image.png?ex=690bd56a&is=690a83ea&hm=440cead45f7a5f15427d5cfcb60ee09d49e65b4eca127d533be469618c5048e3&)
Archived author: Aspect • Posted: 2022-12-09T10:53:30.171000+00:00
Original source
![[Image: image.png?ex=690bd56a&is=690a83ea&hm=440...18c5048e3&]](https://cdn.discordapp.com/attachments/284323424032129024/1050726881336504377/image.png?ex=690bd56a&is=690a83ea&hm=440cead45f7a5f15427d5cfcb60ee09d49e65b4eca127d533be469618c5048e3&)
Archived author: Aspect • Posted: 2022-12-09T10:53:30.910000+00:00
Original source
with crypto ?
Archived author: Roboto • Posted: 2022-12-09T10:55:20.624000+00:00
Original source
I changed the imports in my code to this:
```ts
import * as sha1 from "js-sha1";
import * as crypto from "crypto";
import { BigInteger } from "jsbn";
```
left the rest as-is, seems to be working
Archived author: Aspect • Posted: 2022-12-09T10:57:25.201000+00:00
Original source
js-sha1 dont have a @types
Archived author: Aspect • Posted: 2022-12-09T10:57:28.645000+00:00
Original source
not working in typescript
Archived author: Roboto • Posted: 2022-12-09T11:01:32.402000+00:00
Original source
it does work, you just won't get autocompletion in your IDE
![[Image: image.png?ex=690bd873&is=690a86f3&hm=d93...60d29f702&]](https://cdn.discordapp.com/attachments/284323424032129024/1050730140231020594/image.png?ex=690bd873&is=690a86f3&hm=d934b4dd2d6eea8ae407cc47e4616537530d7f2bfba5c1b69623d8860d29f702&)
Archived author: Aspect • Posted: 2022-12-09T11:06:27.128000+00:00
Original source
![[Image: image.png?ex=690bd873&is=690a86f3&hm=d93...60d29f702&]](https://cdn.discordapp.com/attachments/284323424032129024/1050730140231020594/image.png?ex=690bd873&is=690a86f3&hm=d934b4dd2d6eea8ae407cc47e4616537530d7f2bfba5c1b69623d8860d29f702&)
Archived author: Aspect • Posted: 2022-12-09T11:06:36.927000+00:00
Original source
with the ts-ignore doesn't work