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; - } -} - -