aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/poifs/crypt/CryptoFunctions.java
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-271-591/+0
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* use the forbidden-apis policies corresponding to the JREAndreas Beeker2020-08-151-1/+1
| | | | | | fix the forbidden apis issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - type: bugs / severity: majorAndreas Beeker2019-12-081-92/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes - fix/annotate type "vulnerability" / severity "blocker"Andreas Beeker2019-12-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870657 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-251-32/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* #62564 - replace Thread.currentThread().getContextClassLoader() with ↵Andreas Beeker2018-07-241-1/+1
| | | | | | getClass().getClassLoader() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836590 13f79535-47bb-0310-9956-ffa450edef68
* cleanup for r1812476: avoid NPEs from string.isEmpty()Javen O'Neal2017-10-181-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812516 13f79535-47bb-0310-9956-ffa450edef68
* replace "".equals(string) with string.isEmpty() to avoid null strings ↵Javen O'Neal2017-10-181-2/+2
| | | | | | silently evaluating to false; most code should probably check string for null if it is not already git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812476 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- add more sanity checks when allocating byte[]Tim Allison2017-09-211-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809169 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-161-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808518 13f79535-47bb-0310-9956-ffa450edef68
* javadoc: replace invalid self enclosing elementsPJ Fanning2017-07-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68
* some javadoc fixesPJ Fanning2017-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802035 13f79535-47bb-0310-9956-ffa450edef68
* Convert all *.java files to use native end of line character(s)Javen O'Neal2017-02-081-576/+576
| | | | | | | | $ dos2unix `find -name *.java` $ svn propset svn:eol-style native `find -name *.java` git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782114 13f79535-47bb-0310-9956-ffa450edef68
* add encryption supportAndreas Beeker2016-08-191-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hssf_cryptoapi@1756964 13f79535-47bb-0310-9956-ffa450edef68
* merge down trunkAndreas Beeker2016-08-081-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hssf_cryptoapi@1755463 13f79535-47bb-0310-9956-ffa450edef68
* Fix javadoc warning - As per ↵Nick Burch2016-04-061-1/+1
| | | | | | http://bugs.java.com/bugdatabase/view_bug.do;jsessionid=d014dfa686594180be40ca5872f5?bug_id=4907024 an @see is only allowed a single link with nothing after it git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737924 13f79535-47bb-0310-9956-ffa450edef68
* Escape spaces in the URLNick Burch2016-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734858 13f79535-47bb-0310-9956-ffa450edef68
* #59135 - Password gets truncated when using passwords longer than 15 ↵Andreas Beeker2016-03-131-96/+135
| | | | | | characters for the function protectSheet() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734843 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-011-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700641 13f79535-47bb-0310-9956-ffa450edef68
* Charset.forName() for known encodings makes catching ↵Andreas Beeker2014-12-271-5/+2
| | | | | | | | | | UnknownEncodingException obsolete Unify UTF-16LE conversion to StringUtil BugFix for RecordInputStream.readFully in combination with continuing records BugFix for integration tests - fix pathname for handler/exclude lookup on windows git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648032 13f79535-47bb-0310-9956-ffa450edef68
* merge with trunkAndreas Beeker2014-09-171-17/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625828 13f79535-47bb-0310-9956-ffa450edef68
* some changes because of test errorsAndreas Beeker2014-08-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618254 13f79535-47bb-0310-9956-ffa450edef68
* Xml signature support - version 1Andreas Beeker2014-08-101-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56486 - Add XOR obfuscation/decryption support to HSSFAndreas Beeker2014-05-051-8/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592636 13f79535-47bb-0310-9956-ffa450edef68
* Some encryption fixes:Andreas Beeker2014-04-211-5/+6
| | | | | | | | | - don't rely on SecretKey object having the right algorithm set - leave encryption-description parsing of string/stream to xmlbeans and refactor it to one location - use namespaces of schema instead of hard-coded strings - use CryptoFunctions.getMessageDigest() instead of code duplication git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588874 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56076 - Add document protection with password support to XWPFAndreas Beeker2014-02-211-8/+151
| | | | | | Bug 56077 - Add password hash function to HWPF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570750 13f79535-47bb-0310-9956-ffa450edef68
* javadoc house-keepingAndreas Beeker2013-12-251-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553422 13f79535-47bb-0310-9956-ffa450edef68
* JCE policy fixAndreas Beeker2013-12-251-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553342 13f79535-47bb-0310-9956-ffa450edef68
* Fix jdk-differences for encryption patchAndreas Beeker2013-12-241-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553338 13f79535-47bb-0310-9956-ffa450edef68
* Patch for Bug/Enhancement 55818 - add encryption supportAndreas Beeker2013-12-241-0/+258
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553336 13f79535-47bb-0310-9956-ffa450edef68