Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using uuid.v4() instead of uuid.v1() #46

Merged
merged 1 commit into from
May 21, 2017
Merged

Using uuid.v4() instead of uuid.v1() #46

merged 1 commit into from
May 21, 2017

Conversation

ianwalter
Copy link
Contributor

@ianwalter ianwalter commented May 20, 2017

The generate method modified in this change seems to be what is generating API (and session?) tokens. If this is the case, then I believe that using the v4() method instead of v1() would be more desirable as it would provide higher entropy and so be harder to reproduce. v4() is completely random while v1() is time-based.

The generate modified in this change seems to be what is generating API (and session?) tokens. If this is the case, then I believe that using the v4() method instead of v1() would be more desirable as it would provide higher entropy and so be harder to reproduce. v4() is completely random while v1() is time-based.
@coveralls
Copy link

coveralls commented May 20, 2017

Coverage Status

Coverage remained the same at 97.697% when pulling 987a1e1 on ianwalter:patch-1 into c6468f0 on adonisjs:develop.

@thetutlage thetutlage merged commit f93b519 into adonisjs:develop May 21, 2017
@thetutlage
Copy link
Member

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants