From d95c34a8b4031ea8884660c779191b28e2d81847 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Sun, 9 Apr 2023 20:39:45 +0200 Subject: [PATCH] Supprimer 'src/Api/src/controller/spotify-controller/crypt.ts' --- .../controller/spotify-controller/crypt.ts | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/Api/src/controller/spotify-controller/crypt.ts diff --git a/src/Api/src/controller/spotify-controller/crypt.ts b/src/Api/src/controller/spotify-controller/crypt.ts deleted file mode 100644 index 6e188c4..0000000 --- a/src/Api/src/controller/spotify-controller/crypt.ts +++ /dev/null @@ -1,19 +0,0 @@ -export default class CryptString{ - - stringCrypt: string; - - constructor(length : number){ - this.stringCrypt = this.generateRandomString(length); - } - generateRandomString (length : number){ - let text = ''; - const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; - - for (let i = 0; i < length; i++) { - text += possible.charAt(Math.floor(Math.random() * possible.length)); - } - return text; - } -} - -