From 522d118acad1c8d2cb161e3d91c7aad18d33a1dd Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Thu, 1 Aug 2019 14:13:04 -0400 Subject: [PATCH] Fix typo in SCryptPasswordEncoder Javadoc Fixes: gh-4004 --- .../security/crypto/scrypt/SCryptPasswordEncoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/src/main/java/org/springframework/security/crypto/scrypt/SCryptPasswordEncoder.java b/crypto/src/main/java/org/springframework/security/crypto/scrypt/SCryptPasswordEncoder.java index e15762bf60..189c0ab266 100644 --- a/crypto/src/main/java/org/springframework/security/crypto/scrypt/SCryptPasswordEncoder.java +++ b/crypto/src/main/java/org/springframework/security/crypto/scrypt/SCryptPasswordEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,7 +77,7 @@ public class SCryptPasswordEncoder implements PasswordEncoder { * * @param cpuCost * cpu cost of the algorithm (as defined in scrypt this is N). - * must be power of 2 greater than 1. Default is currently 16,348 + * must be power of 2 greater than 1. Default is currently 16,384 * or 2^14) * @param memoryCost * memory cost of the algorithm (as defined in scrypt this is r)